Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@remirror/ui
Advanced tools
This library is the base for all the UI (user interface) components and styles within Remirror. It uses @emotion/core
and @styled-system/css
, but was inspired by theme-ui
.
yarn add @remirror/ui @remirror/core @remirror/react
Firstly, create the theme or use a custom theme preset.
sx
The sx
utility comes from the [@styled-system/css
][styled-system/css] package and is intended for use with the Emotion css
prop.
It will attempt to use values from the theme
object for many common CSS properties, and will fall back to raw values when there is no corresponding theme value.
To see a list of supported CSS properties, see the Styled System CSS docs.
sx(styleObject)(theme);
Usage:
/** @jsx jsx */
import { jsx } from '@emotion/core';
<div css={sx(styles)} />;
Argument | Type | Description |
---|---|---|
styleObject | Object | a theme-aware style object with support for responsive array values and Styled System prop shortcuts |
theme | Object | the Emotion theming context object |
FAQs
DEPRECATED - ui utilities for remirror
The npm package @remirror/ui receives a total of 8 weekly downloads. As such, @remirror/ui popularity was classified as not popular.
We found that @remirror/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.